.class Lcom/waiqin365/lightapp/kehu/share/j;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/compons/view/d;


# instance fields
.field final synthetic a:Z

.field final synthetic b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;Z)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    iput-boolean p2, p0, Lcom/waiqin365/lightapp/kehu/share/j;->a:Z

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-boolean v0, p0, Lcom/waiqin365/lightapp/kehu/share/j;->a:Z

    if-eqz v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->d(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->e(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_0

    const-string/jumbo v1, ""

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->e(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_0

    const-string/jumbo v1, "SharedNames"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->f(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ","

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->e(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :goto_1
    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->b(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, ""

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->b(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-nez v1, :cond_1

    const-string/jumbo v1, "SharedIds"

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->b(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, ","

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v3}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->g(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    :goto_2
    const-string/jumbo v1, "code"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->h(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    const/16 v2, 0x69

    invoke-virtual {v1, v2, v0}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->setResult(ILandroid/content/Intent;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->back()V

    goto/16 :goto_0

    :cond_0
    const-string/jumbo v1, "SharedNames"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->f(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_1

    :cond_1
    const-string/jumbo v1, "SharedIds"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->g(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    goto :goto_2

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/share/j;->b:Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;->d(Lcom/waiqin365/lightapp/kehu/share/ShareSelectByDepartmentActivity;)Lcom/waiqin365/compons/view/c;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/c;->dismiss()V

    goto/16 :goto_0

    nop

    :pswitch_data_0
    .packed-switch 0x7f0c0067
        :pswitch_0
    .end packed-switch
.end method
